gdk/wayland: Always get the seat's key modifiers from the GdkKeymap
authorRui Matos <tiagomatos@gmail.com>
Wed, 11 Jan 2017 18:12:12 +0000 (19:12 +0100)
committerBastien Nocera <hadess@hadess.net>
Tue, 17 Jan 2017 17:24:28 +0000 (18:24 +0100)
commit7a1b30f16e0fd94697c505e620a741c22600d8f7
treefa3f1a48e5d2e940308a244ba3ddf2bae49f9ec8
parent515b71f14c69b916789e418e75beb5936ce057e5
gdk/wayland: Always get the seat's key modifiers from the GdkKeymap

Elsewhere we already go through the keymap to get modifiers so we
should do the same here. In fact, this was relying on xkb modifier
mask values being bitwise compatible with GdkModifierType which isn't
necessarily true.

https://bugzilla.gnome.org/show_bug.cgi?id=770112
gdk/wayland/gdkdevice-wayland.c